package basics;

import java.lang.reflect.Array;

public class ArrayReflect {
    public static void main(String[] args) {
        Object obj = new int[20];
        int length = Array.getLength(obj);
        System.out.println(obj.getClass().getComponentType());
        System.out.println(length);
        Object o = Array.newInstance(int.class, 2, 3);
        System.out.println();
    }
}
